package com.svr.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yinbo
 */
@Component
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {
	/**
	 * 是否开启swagger，生产环境一般是关闭的
	 */
	private Boolean enable;
	private String applicationName;
	private String applicationVersion;
	private String applicationDescription;
	/**
	 * 接口调用地址
	 */
 	private String tryHost;

	public Boolean getEnable() {
		return enable;
	}

	public void setEnable(Boolean enable) {
		this.enable = enable;
	}

	public String getApplicationName() {
		return applicationName;
	}

	public void setApplicationName(String applicationName) {
		this.applicationName = applicationName;
	}

	public String getApplicationVersion() {
		return applicationVersion;
	}

	public void setApplicationVersion(String applicationVersion) {
		this.applicationVersion = applicationVersion;
	}

	public String getApplicationDescription() {
		return applicationDescription;
	}

	public void setApplicationDescription(String applicationDescription) {
		this.applicationDescription = applicationDescription;
	}

	public String getTryHost() {
		return tryHost;
	}

	public void setTryHost(String tryHost) {
		this.tryHost = tryHost;
	}
}
